package BS;

import BS.data.User;

import java.sql.SQLException;
import java.util.List;

public class test {
    public static void main(String[] args) {
        User user = new User();
        List<User> users = null;
        try {
            users = user.selectUserAll();
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        User u = null;
        try {
            u = user.selectById(1);
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        System.out.println(users);
        System.out.println(u);
    }
}
